package com.sky.service.impl;

import com.sky.dto.FormFieldConfigDTO;
import com.sky.mapper.FormFieldConfigMapper;
import com.sky.service.MaterialService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MaterialServiceImpl implements MaterialService {

    @Autowired
    private FormFieldConfigMapper formFieldConfigMapper;

    @Override
    public List<FormFieldConfigDTO> getFieldsByTemplateIds(List<Long> templateIds) {
        return formFieldConfigMapper.selectFieldsByTemplateIds(templateIds);
    }
}